<template>
  <div id="app">
    <Footer v-show="isshow" />
    <router-view />
  </div>
</template>
<script>
import Footer from './components/Footer'
export default {
  data() {
    return {
        
      isshow: true,
    
    }
  },
  created() {

    this.$bus.$on('hideMenu',v=>{
      this.isshow = v;
    })
  },
  components: {
    Footer
  },

}
</script>

<style lang="scss">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100%;
  background: linear-gradient(to left,#d3959b,#bfe6ba);
}
</style>
